package com.bytz.modules.cms.domain.model.pay;

import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * 尾款入参
 *
 * @author shanxuezhong
 */
@Getter
@Setter
@EqualsAndHashCode
public class BalancePayItem {

    @ApiModelProperty("订单行Id")
    @NotEmpty(message = "订单行Id不能为空")
    private String orderItemId;


    @ApiModelProperty("提货数量")
    @NotNull(message = "提货数量不能为null")
    private Integer shippedNumber;

}
